﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
//using System.Xml.Linq;
using Telerik.Web.UI;
using KPIS.GERP.GHRMS.BLL;
using KPIS.GERP.GHRMS.IBLL;
using KPIS.GERP.GHRMS.MODEL;
using KPIS.GERP.GHRMS.DAL;
using System.Collections.Generic;
namespace KPIS.GERP.GHRMS.APP.App_UI.Forms
{
    public partial class AC_ActivityHistory : System.Web.UI.Page
    {
        ActivityRequestBLL ActReqBLL = new ActivityRequestBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                LoadDataGrid();
            }
        }
        private void LoadDataGrid()
        {
            string TrainSeq = Request.QueryString["Sequence"].ToString();
            DataSet ListDataCommand = ActReqBLL.GetActHistory(Request.QueryString["Sequence"]);
            DataTable table = ListDataCommand.Tables[0];
            RadGrid5.DataSource = ListDataCommand.Tables[0];
            //RadGrid5.DataSource = "";
            RadGrid5.DataBind();
        }

    }
}
